Platform Explorer / Nuxeo Platform 5.8

Component org.nuxeo.ecm.webengine.sites.security.defaultPermissions

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.webengine.sites.security.defaultPermissions">

  <require>org.nuxeo.ecm.platform.comment.defaultPermissions</require>

  <extension target="org.nuxeo.ecm.core.security.SecurityService"
    point="permissions">

    <permission name="Write">
      <include>Comment</include>
    </permission>

  </extension>

  <extension target="org.nuxeo.ecm.core.security.SecurityService"
      point="permissionsVisibility">
    <visibility type="Workspace">
      <item show="true" order="200">Comment</item>
      <item show="true" order="200">Moderate</item>
    </visibility>
    <visibility type="WebSite">
      <item show="true" order="200">Comment</item>
      <item show="true" order="200">Moderate</item>
    </visibility>

  </extension>

</component>